package com.jiawa.train.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("daily_train_ticket")
public class DailyTrainTicket {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Date date;
    private String trainCode;
    private String start;
    private String startPinyin;
    private Date startTime;
    private Integer startIndex;
    private String end;
    private String endPinyin;
    private Date endTime;
    private Integer endIndex;
    private Integer ydz;
    private BigDecimal ydzPrice;
    private Integer edz;
    private BigDecimal edzPrice;
    private Integer rw;
    private BigDecimal rwPrice;
    private Integer yw;
    private BigDecimal ywPrice;
    private Date createTime;
    private Date updateTime;
}